﻿using System;
using System.Collections.Generic;
using Abp.Application.Services.Dto;

namespace Camc.Quality.CodeFormat
{
    public class CodeFormatDto : FullAuditedEntityDto<Guid>
    {
        /// <summary>
        ///     编码名称
        /// </summary>
        public string CodeName { get; set; }

        /// <summary>
        ///     系统规则
        /// </summary>
        public string SysRules { get; set; }

        /// <summary>
        ///     是否自动生成1：是，0：否
        /// </summary>
        public int AutoGenerate { get; set; }

        /// <summary>
        ///     是否使用1：不启用，0：启用
        /// </summary>
        public int IsUsed { get; set; }

        /// <summary>
        ///     备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        ///     更新人
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 可用模块
        /// </summary>
        public string AvailableModules { get; set; }

        public IList<CodeFormatRuleDto> CodeFormatRuleDto { get; set; }
    }
}